//
//  ZYCDutyBulletionRecordDetailModel.m
//  ZDSC
//
//  Created by ZDTX on 2021/8/6.
//

#import "ZYCDutyBulletionRecordDetailModel.h"

@implementation ZYCBusFileListModel

@end

@implementation ZYCDutyPlansRecordModel

- (NSString *)scopeStr{
    NSString *str;
    if ([self.scope isEqualToString:@"0"]) {
        str = @"小学部";
    }else{
        str = @"初中部";
    }
    return str;
}
@end

@implementation ZYCBusRecordReportsModel

+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass{

    return @{@"busFileList":[ZYCBusFileListModel class]};
}

//- (BOOL)isComplete{
//    if (self.content.length == 0 && self.busFileList.count == 0) {
//        return NO;
//    }
//    return YES;
//}

@end
@implementation ZYCDutyBulletionRecordDetailModel

+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass{
    return @{
        @"busDutyplansRecord":[ZYCDutyPlansRecordModel class],
        @"busRecordReports":[ZYCBusRecordReportsModel class]
    };
}

@end


